package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Employee;
import cn.wolfcode.rbac.query.PageResult;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public abstract interface IEmployeeService {
    //登入
    public abstract void login(String paramString1, String paramString2);

    //分页-结果集
    public abstract PageInfo query(QueryObject paramQueryObject);

    public abstract void saveOrUpdate(Employee entity, Long[] ids);

    public abstract void delete(Long paramLong);

    public abstract Employee get(Long id);

    public abstract List<Employee> list();

    public abstract void abtchDelete(Long[] ids);

    public abstract Long checkedName(String name);

    public abstract Workbook exportXls();

    //导入
    public abstract void importXls(MultipartFile file) throws IOException;
}
